package com.zengge.zbc.dto;

public class Certificate {

    private final static int TIME_OVER = (1000 * 60 * 60 * 24);
    private String userId;
    private String appId;
    private long expireTime;

    public Certificate() {
    }

    public Certificate(String userId, String appId) {
        this.userId = userId;
        this.appId = appId;
        this.expireTime = TIME_OVER;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public long getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(long expireTime) {
        this.expireTime = expireTime;
    }
}
